home *** CD-ROM | disk | FTP | other *** search
/ Champak 66 / Vol 66.iso / games / balones.swf / scripts / frame_48 / DoAction.as
Text File  |  2013-04-24  |  999b  |  43 lines

  1. stop();
  2. chance_to_play = true;
  3. trace("game" + this._currentframe);
  4. cnt_num = 0;
  5. mission_num_2 = mission_num;
  6. Wnum = 0;
  7. level_bar.mask._width = 0;
  8. this.onEnterFrame = function()
  9. {
  10.    "-5"();
  11.    "-4"();
  12.    if(this._currentframe == 48)
  13.    {
  14.       this.level_bar.mask._width = 109 * Wnum / mission_num_2;
  15.       if(mission_num > 0)
  16.       {
  17.          this.time_plus_num = this.time_plus_num + 1;
  18.          if(time_plus_num > 13)
  19.          {
  20.             time_plus_num = 0;
  21.             mcTime2.nextFrame();
  22.             if(mcTime2._currentframe > 80)
  23.             {
  24.                mcTime2.in_time_bar.gotoAndStop(2);
  25.             }
  26.             else
  27.             {
  28.                mcTime2.in_time_bar.gotoAndStop(1);
  29.             }
  30.             if(mcTime2._currentframe == 99)
  31.             {
  32.                Game_play = false;
  33.                gara._visible = true;
  34.             }
  35.          }
  36.       }
  37.       else if(mission_num <= 0)
  38.       {
  39.          mcTime2.stop();
  40.       }
  41.    }
  42. };
  43.